﻿(function() {
  var __hasProp = {}.hasOwnProperty,
    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };

  define(['jquery', 'use!underscore', 'use!backbone', 'namespace', 'photo'], function($, _, Backbone, global, Photo) {
    var Album;
    if (global.Album) {
      return global.Album;
    }
    Album = (function(_super) {

      __extends(Album, _super);

      function Album() {
        return Album.__super__.constructor.apply(this, arguments);
      }

      Album.prototype.model = Photo;

      Album.prototype.url = '/Photo/';

      return Album;

    })(Backbone.Collection);
    global.Album = new Album();
    return global.Album;
  });

}).call(this);
